Skip to main content
guest
Join
|
Help
|
Sign In
msprogramming
Home
guest
|
Join
|
Help
|
Sign In
msprogramming
Wiki Home
Recent Changes
Pages and Files
Members
Home
Neighborhood procedures
Neighborhood procedures
Edit
0
5
…
0
Tags
No tags
edit
Save
Cancel
Notify
RSS
Backlinks
Source
Print
Export (PDF)
to walk_dog
repeat #
[fd 4 setsh 19 wait .75 fd 5 setsh 20 wait .75]
seth (degree)
repeat above code the number of times nessasary
end
to Butterfly
seth 0
repeat 45[setsh 34 wait 1 fd 1 rt 90 fd 3 lt 90 setsh 35 wait 1 fd 1 rt 90 fd 3 lt 90]
end
to humming
repeat 800 [setsh 36 wait 1 setsh 37 wait 1]
end
to startall
(t1), setpos [x y]
(t2), setpos [x y]
(t3), setpos [x y]
(t1), launch[walk_dog]
(t2), launch [humming]
(t3), launch [butterfly]
end
Javascript Required
You need to enable Javascript in your browser to edit pages.
help on how to format text
Turn off "Getting Started"
Home
...
Loading...
repeat #
[fd 4 setsh 19 wait .75 fd 5 setsh 20 wait .75]
seth (degree)
repeat above code the number of times nessasary
end
to Butterfly
seth 0
repeat 45[setsh 34 wait 1 fd 1 rt 90 fd 3 lt 90 setsh 35 wait 1 fd 1 rt 90 fd 3 lt 90]
end
to humming
repeat 800 [setsh 36 wait 1 setsh 37 wait 1]
end
to startall
(t1), setpos [x y]
(t2), setpos [x y]
(t3), setpos [x y]
(t1), launch[walk_dog]
(t2), launch [humming]
(t3), launch [butterfly]
end